<%-- 
    Document   : connection
    Created on : 27 nov. 2014, 20:34:57
    Author     : metbill
--%>

<%@page contentType="text/html" pageEncoding="UTF-8"%>
<%@ taglib uri="http://www.springframework.org/tags/form" prefix="form"%>
<%@ taglib uri="http://www.springframework.org/tags/form" prefix="form"%>
<!DOCTYPE html>
<html>
    <head>
        <meta http-equiv="Content-Type"   <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <!-- CSS -->
        <link href="/WebApp/css/bootstrap.min.css"  rel="stylesheet">
        <link href="/WebApp/css/bootstrap-theme.min.css"  rel="stylesheet">
        <!-- JS -->
        <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.0/jquery.min.js"></script>
        <title> Connection Page</title>
    </head>
    <body >
        <div class="container">
            <div class="row" >
                <div class="col-lg-offset-4">
                    <img id="logo" src="/WebApp/img/logo.jpg"  width='400' height="400"/>
                </div>       
            </div>
            <div class= row >
                <div class="col-lg-offset-4 col-lg-4">
                    <form method="post" action="/WebApp/connect">
                        <div class="form-group">                 
                            <h3><b>Username: </b></h3><input type="text"  name="username" class="form-control " />
                        </div>
                        <div class="form-group">                 
                            <h3><b>Password: </b></h3><input type="password"  name="password"  class="form-control "/>
                        </div>
                        <center>
                            <p style=" color: red"> ${errormessage}</p>
                            <input type="submit" value="Login" class="btn btn-primary"  >
                        </center>
                    </form>
                </div>         
           </div>
            <div class="row" >
                <jsp:include page="footer.jsp"></jsp:include>
            </div>     
            </div>
        
        </div>
     <script src="/WebApp/js/bootstrap.min.js" /></script>
     <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.0/jquery.min.js"></script>   
    </body>
    
</html>
